# Copyright (c) 2020 Presto Labs Pte. Ltd.
# Author: donggu

load("@nazel//:nazel_build.bzl", "nazel_cc_binary", "nazel_cc_pymodule")

package(default_visibility = ["//visibility:public"])

nazel_cc_binary(
    name = "plot",
    srcs = [
        "plot.cc",
    ],
    linkopts = [
        "-ldocopt",
    ],
    deps = [
        "//cc/coin2",
        "//cc/third_party:vitro",
    ],
)

nazel_cc_binary(
    name = "debug",
    srcs = [
        "debug.cc",
    ],
    linkopts = [
        "-ldocopt",
    ],
    deps = [
        "//cc/coin2",
    ],
)

nazel_cc_pymodule(
    name = "py_parser.so",
    srcs = [
        "py_parser.cc",
        "py_parser.h",
    ],
    deps = [
        "//cc/coin2",
    ],
)

nazel_cc_pymodule(
    name = "py_trade_client.so",
    srcs = [
        "py_trade_client.cc",
        "py_trade_client.h",
    ],
    deps = [
        "//cc/coin2",
    ],
)

nazel_cc_binary(
    name = "og_replay",
    srcs = ["og_replay.cc"],
    deps = ["//cc/coin2"],
)

nazel_cc_binary(
    name = "account_info_collector",
    srcs = ["account_info_collector.cc"],
    deps = ["//cc/coin2"],
)

nazel_cc_binary(
    name = "stratlog_h5_dumper",
    srcs = ["stratlog_h5_dumper.cc"],
    deps = ["//cc/coin2"],
)
